* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.ultrame-comp-class-name {
  color: salmon;
  font-weight: bold;
  border-bottom: 1px solid #f1f1f1;
  line-height: 50px;
}

.ultrame-comp-container {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
}

.ultrame-comp-item {
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #f1f1f1;
  margin: 8px;
  width: calc(50% - 16px);
  background: #f7f7f7;
  font-size: 14px;
  font-weight: bold;
  user-select: none;
}

.ultrame-comp-item:hover {
  background: salmon;
  color: #f7f7f7;
}


#ultrame-canvas {
  height: 100%;
  overflow-y: scroll;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;


  .widgetContainer .ultrame-form-item-box {
    margin: 0;
    background: #ccc;
    pointer-events: auto;
    width: 100% !important;

    .el-form-item {
      width: 100% !important;
    }
  }

  .ultrame-form-item-box {
    display: flex;
    align-items: center;
    padding: 22px;
    background: #f7f7f7;
    height: 84px;
    box-shadow: 0 0 1px 1px #fff inset;
    cursor: pointer;

    &.container {
      padding: 22px 0;
    }

    * {
      user-select: none;
      pointer-events: none;

      // &:hover {
      //   cursor: pointer !important;
      // }
    }

    .label {
      text-align: right;
      padding-right: 12px;
    }

    .required::before {
      content: "*";
      color: #f56c6c;
      margin-right: 4px;
    }

    .inputContainer {
      flex: 1;

      &>* {
        width: 100%;
      }
    }

    .el-input {
      width: 100% !important;
    }

    .el-rate {
      height: 40px !important;
      display: flex;
      align-items: center;
    }

    .ultrame-form-item-box {
      // width: unset !important;
      pointer-events: auto;
    }

    .el-row {
      .el-col {
        height: 84px;
        background: #d3dce6;
        pointer-events: auto;

        &:nth-child(odd) {
          background: #eff1f2;
        }
      }
    }
  }
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}